package cn.wuweixiang.es.service;


import cn.wuweixiang.es.model.Model;

import java.util.List;

/**
 * The interface Model service.
 *
 * @author weixiang.wu
 */
public interface ModelService {

    /**
     * Save model.
     *
     * @param model the model
     */
    void saveModel(Model model);

    /**
     * Save models.
     *
     * @param models the models
     */
    void saveModels(List<Model> models);

    /**
     * Search model list.
     *
     * @param searchContent the search content
     * @return the list
     */
    List<Model> searchModel(String searchContent);
}
